package com.bdqn.hospital.service.impl;

import com.bdqn.hospital.mapper.PrescriptionBatchDetailMapper;
import com.bdqn.hospital.mapper.PrescriptionDetailMapper;
import com.bdqn.hospital.pojo.PrescriptionDetail;
import com.bdqn.hospital.service.PrescriptionDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @version : 1.0
 * @Author :guogd
 * @createTime: 2023/03/01 15:03
 * @Description: com.bdqn.hospital.service.impl
 */
@Service
public class PrescriptionDetailServiceImpl implements PrescriptionDetailService {

    @Autowired
    private PrescriptionDetailMapper prescriptionDetailMapper;

    @Override
    public List<PrescriptionDetail> getByRegistryId(Integer registryId) {
        List<PrescriptionDetail> list = prescriptionDetailMapper.getByRegistryId(registryId);
        return list;
    }
}
